<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
   <%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加大类</title>
<link href="css/jimu.css" type="text/css" rel="stylesheet"><!-- 基于网页地址条寻址 非目录寻址 -->
<script type="text/javascript">
	function add(){
		if(form1.id.value==""){
			alert("请输入大类ID");
			form1.id.focus();
		}else if(form1.name.value==""){
			alert("请输入大类名称");
			form1.name.focus();
		}else{
			form1.submit();
		}
		
	}

</script>
</head>
<body>
<!-- 头部包含文件 -->
<%@include file="../common/head.jsp" %>
<table class="main">
	<tr>
		<td style="width:180px;vertical-align:top;">
			<%@include file="../common/menu.jsp" %>	
		</td>
		<td style="vertical-align:top;padding:20px">
			<p>添加新商品：</p>
				<form action="addSuper.action" method="post" name="form1">
					<table class="formTbl">
					  <col style="width:150px"><col style="width:250px">
						<tr>
							<td>大类名称:</td>
							<td>
								<input type="text" name="supertype.typename">
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<input type="submit" value="提交" >
								<input type="reset" value="重置">
							</td>
						</tr>
					</table>
				
				</form>
				
				
		</td>
	</tr>

</table>
<%@include file="../common/tail.jsp" %>
</body>
</html>